<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Admins extends Model
{
    protected $hidden=['password'];

    public function role()
    {
        return $this->hasOne(Role::class,'id','role_id');
    }

}
